package com.syswin.lhztest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author:lhz
 * @date:2018/12/1 20:40
 */
@Controller
@RequestMapping("/manage")
public class ManageController {
//	@Autowired
//	private PersonService personService;

	@RequestMapping("/list")
	public String getAllPerson(Model model) {
//		ModelAndView mav = new ModelAndView("/index");
//		List list = new ArrayList();
//		Map map =  new HashMap();
//		PageInfo<Person> pageInfo = new PageInfo<Person>(list);
//		model.addAttribute("pageInfo",pageInfo);
		return "index";
	}

}
